home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0793july.archive
/
000085_crash!axion.bt.…uk!D.Higginson_Tue, 27 Jul 93 07:50:47 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
1KB
Received: by bkhouse.cts.com (V1.16/Amiga)
id AA00000; Tue, 27 Jul 93 07:50:47 PST
Received: from zaphod.axion.bt.co.uk by crash.cts.com with smtp
(Smail3.1.28.1 #15) id m0oKqHq-0000EvC; Tue, 27 Jul 93 07:45 PDT
Received: from elephant.axion.bt.co.uk by zaphod.axion.bt.co.uk with SMTP (PP); Tue, 27 Jul 1993 15:45:19 +0100
Message-Id: <m0oKqHq-0000EvC@crash.cts.com>
Date: Tue, 27 Jul 93 15:45:16 BST
From: D.Higginson@axion.bt.co.uk
To: AmigaE@bkhouse.cts.com
Cc: D.Higginson@axion.bt.co.uk
Subject: Initialising variables in objects
Why is it that sometimes you can write something like:
object.field:=variable
and it will work fine, but if you try:
object.field:=function()
then EC will stop in its tracks and present you with an
'illegal reference' or some such error message.
However, if you assign the value to a variable first,
everything is ok:
fred:=function()
object.field:=fred
I know that I have already got a way of getting round
this, but it's not very elegant, is it?
Perhaps I am missing something (like my brain :-)...
Dave.